import request from '@/utils/request'

// 查询上市项目-股票减持主列表
export function listListedShareSub(query) {
  return request({
    url: '/listed/listedShareSub/list',
    method: 'get',
    params: query
  })
}

// 查询上市项目-股票减持主详细
export function getListedShareSub(id) {
  return request({
    url: '/listed/listedShareSub/' + id,
    method: 'get'
  })
}

// 保存上市项目-股票减持主
export function saveListedShareSub(data) {
  return request({
    url: '/listed/listedShareSub/save',
    method: 'post',
    data: data
  })
}

// 删除上市项目-股票减持主
export function delListedShareSub(id) {
  return request({
    url: '/listed/listedShareSub/' + id,
    method: 'delete'
  })
}

// 导出上市项目-股票减持主
export function exportListedShareSub(query) {
  return request({
    url: '/listed/listedShareSub/export',
    method: 'get',
    params: query
  })
}
